package com.iplant.wms.service.po.crm;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.iplant.base.po.BasePO;
import com.iplant.base.po.enums.DBSchemas;
import com.iplant.base.utils.annotation.po.DBBasePO;
import com.iplant.base.utils.annotation.condition.DBCondition;
import com.iplant.base.utils.annotation.field.DBField;

import java.io.Serializable;

/**
 * 快递公司
 *
 * @author YouWang·Peng
 * 2022-11-1 16:13:46
 */
@DBBasePO(TableName = "crm_expresscorp", CheckName = {"Code", "Name"}, Schemas = DBSchemas.WMS,
        CodeAuto = true, CodePrefix = "KDGS-")
public class CRMExpressCorp extends BasePO implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 联系人
     */
    @DBCondition(CompareType= DBCondition.DBCompareType.like)
    @DBField
    public String Contact = "";
    /**
     * 联系电话
     */
    @DBCondition(CompareType= DBCondition.DBCompareType.like)
    @DBField
    public String Phone = "";
    /**
     * 公司地址
     */
    @DBField
    public String Address = "";

    @JsonProperty("Contact")
    public String getContact() {
        return Contact;
    }

    public void setContact(String contact) {
        Contact = contact;
    }

    @JsonProperty("Phone")
    public String getPhone() {
        return Phone;
    }

    public void setPhone(String phone) {
        Phone = phone;
    }

    @JsonProperty("Address")
    public String getAddress() {
        return Address;
    }

    public void setAddress(String address) {
        Address = address;
    }
}
